package com.kantboot.system.user.service.impl;

import com.kantboot.system.user.dao.repository.entity.SysBalanceRepository;
import com.kantboot.system.user.domain.entity.SysBalance;
import com.kantboot.system.user.service.ISysBalanceService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SysBalanceServiceServiceImpl implements ISysBalanceService {

    @Resource
    private SysBalanceRepository repository;

    @Override
    public List<SysBalance> getAll() {
        return repository.findAll();
    }
}
